package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.Result;

import java.util.Map;

/**
 * @author 林道样
 * @date 2020-03-05 15:20
 */
public interface OrderService {
    Result order(Map map) throws Exception;

    Map findById(Integer id);

    PageResult pageQuery(Map map) throws Exception;

    Result add(Map map,Integer setmealIds) throws Exception;

    void edit(Map map,Integer id);

    void delete(Integer id);

    void changeOrderStatus(Integer id);


    Map<String,Object> findOrderById(Integer id) throws Exception;
}
